package com.ty.user.starter.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ty.user.starter.entity.Log;
import com.ty.user.starter.entity.criteria.LogCriteria;
import com.ty.user.starter.entity.vo.LogVo;
import org.springframework.validation.annotation.Validated;

import javax.validation.Valid;

/**
 * <p>
 * 系统日志表 服务类
 * </p>
 *
 * @author minku
 * @since 2021-10-21
 */
@Validated
public interface LogService extends IService<Log> {

    /**
     * 分页查询
     * @param criteria 查询条件
     * @return
     */
    IPage<LogVo> findAll(@Valid LogCriteria criteria);
}
